package com.example.stock.mapper;

import com.example.stock.model.GBSta;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GbStaMapper {

    List<GBSta> getGBStaDataByType(String type);

    List<GBSta> getGBStaDataByStockAndType(String stock, String type);

    List<GBSta> getGBStaDataByDateAndType(String date, String type);

    /**
     * 返回间隔大于数值的数据
     */
    List<GBSta> getDurGtNum(String type, int num);
}
